"""
@author: Shizuku
@file: 2022-11-24-practice.py
@time: 2022/11/24 20:14
"""
import os
import os.path


def tree(path, depth=0):
    if depth == 0:
        print(path)
    items = os.listdir(path)
    for item in items:
        print('|    ' * depth, end='')
        print('|----', item)
        item = os.path.join(path, item)
        if os.path.isdir(item):
            tree(item, depth + 1)


def practice2():
    from ActiveCode import smj
    n = int(input("请输入要生成的激活码的个数："))
    smj.activecoding(n)
